@import '~asha/_.less';

.ui-pagnation {
    line-height: 30px;
    display: inline-block;
    height: 30px;
    margin: 0 auto;
    text-align: center;
    color: #535353;

    .fl {
        float: left;
        height: 30px;
        line-height: 30px;
    }
    .fr {
        float: right;
        height: 30px;
        line-height: 30px;
    }
    a {
        line-height: 26px;
        display: inline-block;
        min-width: 30px;
        height: 30px;
        line-height: 30px;
        padding: 0 7px;
        cursor: pointer;
        vertical-align: middle;
        text-decoration: none;
    }
    .next, .prev {
        margin-left: 4px;
        margin-right: 9px;
        background-color: #B7B7B7;
    }
    .next:before, .prev:before {
        font-size: 14px;
        content: '<上一页';
        color: #fff;
    }
    .next:hover, .prev:hover {
        border-color: @color_a;
    }
    .next:hover:before, .prev:hover:before {
        color: @color_a;
    }
    .disable.next, .prev.disable {
        cursor: no-drop;
        border-color: #eee;
        background-color: #b7b7b7;
    }
    .disable.next:before, .prev.disable:before {
        color: @color_font_2;
    }
    .next:before {
        content: '下一页>';
    }
    .num {
        margin-left: -1px;
        padding: 0 7px;
        color: #fff;
        background-color: #B7B7B7;
        margin-right: 5px;
    }
    .num.current{
        color: #fff;
        border-color: @color_a;
        background-color: @color_a;
        &:hover{
            color: #fff;
        }
    }
    .num:hover {
        color: @color_a;
    }
    .ellipsis {
        line-height: 30px;
        width: 42px;
        height: 30px;
        color: #707070;
    }
    input {
        .input-style;
        width: 44px;
        margin:0 5px;
        height: 24px;
        // text-align: center;
        // border: 1px solid #eee;
        // .border-radius(5px);
    }
    .page-go {
        font-size: 12px;
        margin-right: 10px;
        margin-left: 10px;
        color: @color_font_2;
        border: 1px solid #eee;
        background-color: #fff;
    }
    .page-go:hover {
        color: @color_a;
        border-color: @color_a;
    }
}